package com.example.wisdomclassroomapi.facade.assembler;

import com.example.wisdomclassroomapi.domain.entity.ScheduleLessonEntity;
import com.example.wisdomclassroomapi.facade.dto.ScheduleLessonRequestDto;
import com.example.wisdomclassroomapi.facade.dto.ScheduleLessonResponseDto;
import org.mapstruct.Mapper;

/**
 * @Package: com.example.wisdomclassroomapi.facade.assembler
 * @Description: <請求>
 * @Author: scholes
 * @CreateDate: 2022-04-19
 * @UpdateUser: scholes
 * @UpdateDate: 2022-04-19
 * @UpdateRemark: <>
 * @Version: 1.0
 */
@Mapper(componentModel = "spring")
public interface ScheduleLessonFacadeAssembler {

    ScheduleLessonEntity assembleScheduleLessonEntity(ScheduleLessonRequestDto source);

    ScheduleLessonResponseDto assembleScheduleLessonResponseDto(ScheduleLessonEntity entity);
}
